
class Controller {
  constructor(player) {
    this.player = player
    this.initPlayButton()
  }

  initPlayButton() {
    console.log(this.player.template.playButton)
    this.player.template.playButton.addEventListener('click', () => {
      this.player.toggle()
    })
  }
}
export default Controller
